/*
* @features: 功能
* @description: 说明
* @Date: 2021-09-28 23:32:47
* @Author: judu233(769471424@qq.com)
 * @LastEditTime: 2021-10-27 22:23:03
 * @LastEditors: judu233
*/

import c3d from "../../cc";
import { setI18nCom } from "./util/i18nCom";

declare module "cc" {
    export interface Label {
        /**多语言表id */
        i18Id: string;
    }
    export interface RichText {
        /**多语言表id */
        i18Id: string;
    }
}

//扩展label组件 实现多语言切换
setI18nCom(c3d.Label as any);
setI18nCom(c3d.RichText);